#ifndef _SINGLETON_H_
#define _SINGLETON_H_

template<class T>
class Singleton
{
public:
	static T* getInstance(){
		static T inst;
		return &inst;
	}

protected:
};

#endif